package com.jia.product.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Getter;

/**
 * 属性分组(AttrGroup)表实体类
 *
 * @author makejava
 * @since 2025-07-08 18:15:25
 */
@Getter
@SuppressWarnings("serial")
@TableName("pms_attr_group")
public class AttrGroup extends Model<AttrGroup> {
    //分组id
    @TableId
    private Long attrGroupId;
    //组名
    private String attrGroupName;
    //排序
    private Integer sort;
    //描述
    private String descript;
    //组图标
    private String icon;
    //所属分类id
    private Long catelogId;

    @TableField(exist = false)
    private Long[] catelogPath;

    public void setAttrGroupId(Long attrGroupId) {
        this.attrGroupId = attrGroupId;
    }

    public void setAttrGroupName(String attrGroupName) {
        this.attrGroupName = attrGroupName;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public void setDescript(String descript) {
        this.descript = descript;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public void setCatelogId(Long catelogId) {
        this.catelogId = catelogId;
    }


    public void setCatelogPath(Long[] catelogPath) {
        this.catelogPath = catelogPath;
    }


}

